var mongoose = require('mongoose');

var message_lists = new mongoose.Schema({
	mobile: String,
	userName: String,
	sendMobile: String,
	sendUserName: String,
	message: String,
	msgId: String,
	status: {
		type: Number,
		default: 0		//0未读，1同意，2拒绝
	},		
	createTime:{
		type: Date,
		default: Date.now
	}
})

mongoose.model('message_lists', message_lists);